<?php
/**
 * Clase DP para ArFacturaLineaDP
 *
 * @package    
 * @subpackage ArFacturaLineaDP
 * @author     hans
 * @version    SVN:: ArFacturaLineaDP.class.php,v 1.1 2012-05-04 01:34:42 Hans.parra Exp $
 */
require_once($_SERVER['DOCUMENT_ROOT'].'/gourmet-express/trunk/src/class/common/conexion.php');
require_once($_SERVER['DOCUMENT_ROOT'].'/gourmet-express/trunk/src/class/so/facturas/BDP/BaseArFacturaLineaDP.class.php');

class ArFacturaLineaDP extends BaseArFacturaLineaDP
{



    public function eliminarSoFacturaDetalle()
    {
        try 
        {
            $o_conexion = new BaseDatos();
            $con = $o_conexion->conectar();
            $sql = "DELETE FROM ar_factura_linea WHERE 1 AND facl_facId='".$this->getFacId()."';"; 
            $result = mysql_query($sql);
            
            return true;
            
        }catch ( Exception $o_Error )
        {
          throw new Exception($o_Error->getMessage().' en '.$o_Error->getFile().' linea '.$o_Error->getLine());
        }
    }

}